<?php
    $subject = $_POST['subject'];
    $message = '<html><body style="direction: rtl">';
    $message .= '<div> שם:' . $_POST['name'] . '</div>';
    $message .= '<div> דוא"ל:' . $_POST['email'] . '</div>';
    $message .= '<div> טלפון:' . $_POST['phone'] . '</div><br/>';
    $message .= $_POST['order'];
    $message .= '</body></html>';
    $headers = "MIME-Version: 1.0" . "\r\n";
    $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
	$ret = mail('moshe.stekel@hp.com, efraim052@gmail.com, elchanan5@gmail.com', $subject, $message, $headers);
	if($ret == FALSE) {
		http_response_code(404);
	}
?>